#include "MeshRotationAffectorFactory.h"
#include "MeshRotationAffector.h"

namespace Destiny
{
	CMeshRotationAffectorFactory* CMeshRotationAffectorFactory::mSelf = NULL ;

	CMeshRotationAffectorFactory::CMeshRotationAffectorFactory(void)
	{
	}


	CMeshRotationAffectorFactory::~CMeshRotationAffectorFactory(void)
	{
	}

	Ogre::ParticleAffector* CMeshRotationAffectorFactory::createAffector(Ogre::ParticleSystem* psys)
	{
		CMeshRotationAffector* pParticleAffector = new CMeshRotationAffector(psys) ;
		mAffectors.push_back( pParticleAffector ) ;
		return pParticleAffector ;
	}
}